package com.mico.echart.monitor.model;

/**
 * @author micocube
 * projectName: springboot-example
 * packageName: com.mico.echart.monitor.model
 * email: ldscube@gmail.com
 * createTime: 2020-01-15 13:43
 * version: 0.1
 * description:
 */
public class Processes {
    private int processId;
    private String name;
    private String cpuPercent;
    private String memoryPercent;
    private String vsz;
    private String rss;

    public Processes(int processId, String name, String cpuPercent, String memoryPercent, String vsz, String rss) {
        this.processId = processId;
        this.name = name;
        this.cpuPercent = cpuPercent;
        this.memoryPercent = memoryPercent;
        this.vsz = vsz;
        this.rss = rss;
    }

    public int getProcessId() {
        return processId;
    }

    public Processes setProcessId(int processId) {
        this.processId = processId;
        return this;
    }

    public String getName() {
        return name;
    }

    public Processes setName(String name) {
        this.name = name;
        return this;
    }

    public String getCpuPercent() {
        return cpuPercent;
    }

    public Processes setCpuPercent(String cpuPercent) {
        this.cpuPercent = cpuPercent;
        return this;
    }

    public String getMemoryPercent() {
        return memoryPercent;
    }

    public Processes setMemoryPercent(String memoryPercent) {
        this.memoryPercent = memoryPercent;
        return this;
    }

    public String getVsz() {
        return vsz;
    }

    public Processes setVsz(String vsz) {
        this.vsz = vsz;
        return this;
    }

    public String getRss() {
        return rss;
    }

    public Processes setRss(String rss) {
        this.rss = rss;
        return this;
    }
}
